package com.sise.dubbo.vo;

/**
 * web service结果常量.
 * 
 * @author lqh
 *
 */
public class WsResultConstants {

	public static final String WS_CODE_SUCCESS = "000000";
	public static final String WS_MSG_SUCCESS = "操作成功";

	public static final String WS_CODE_NO_DATA_FOUND = "999990";
	public static final String WS_MSG_NO_DATA_FOUND = "找不到数据";

	public static final String WS_CODE_ERR_UNKNOW = "999999";
	public static final String WS_MSG_ERR_UNKNOW = "服务器未知异常";

	public static final String WS_CODE_ERR_PARAM = "999998";
	public static final String WS_MSG_ERR_PARAM = "参数错误";

	public static final String WS_CODE_ERR_VPARAM = "999997";
	public static final String WS_MSG_ERR_VPARAM = "参数校验失败";

	public static final String WS_CODE_ERR_CPARAM = "999996";
	public static final String WS_MSG_ERR_CPARAM = "参数转换失败";

	public static final String WS_CODE_ERR_BIZCODE = "999995";
	public static final String WS_MSG_ERR_BIZCODE = "未找到业务处理逻辑";

	public static final String WS_CODE_SER_CALL_FAILED_BIZCODE = "999994";
	public static final String WS_MSG_SER_CALL_FAILED_BIZCODE = "远程服务调用失败";

	public static final String WS_CODE_AUTH_FAILED_BIZCODE = "999993";
	public static final String WS_MSG_AUTH_FAILED_BIZCODE = "权限验证失败";

	public static final String WS_CODE_NEED_OPEN_ACCOUNT_BIZCODE = "999992";
	public static final String WS_MSG_NEED_OPEN_ACCOUNT_BIZCODE = "未开户";

	public static final String WS_CODE_NEED_BIND_PHONE_BIZCODE = "999991";
	public static final String WS_MSG_NEED_BIND_PHONE_BIZCODE = "未补全手机号码";

	public static final String WS_CODE_HYSTRIX_ANNOTATION_ERR_BIZCODE = "888880";
	public static final String WS_MSG_HYSTRIX_ANNOTATIO_ERR_BIZCODE = "断路器注解不符合条件，该服务无法正常调用";

	public static final String WS_CODE_HYSTRIX_FALL_BACK_BIZCODE = "888881";
	public static final String WS_MSG_HYSTRIX_FALL_BACK_BIZCODE = "断路器降级处理";

	public static final String WS_TOKEN_ERROR_BIZCODE = "777777";
	public static final String WS_MSG_TOKEN_ERROR_BIZCODE = "Token登录异常";

	public static final String WS_LOGIN_ERROR_BIZCODE = "777779";
	public static final String WS_MSG_LOGIN_ERROR_BIZCODE = "账户中心异常";

	public static final String GATEWAY_CODE_HYSTRIX_FALL_BACK_BIZCODE = "111110";
	public static final String GATEWAY_MSG_HYSTRIX_FALL_BACK_BIZCODE = "网关断路器服务降级处理";

}
